package me.zhengjie.modules.fund.repository;

import me.zhengjie.modules.fund.domain.StockNetValue;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Date;

public interface StockNetValueRepository extends JpaRepository<StockNetValue, Long>, JpaSpecificationExecutor<StockNetValue> {

    StockNetValue findByCodeAndDate(String code, Date date);
}
